//
//  ZGSDestionDetailsCell.m
//  Tour
//
//  Created by dllo on 15/10/28.
//  Copyright (c) 2015年 蓝鸥科技. All rights reserved.
//

#import "ZGSDestionDetailsCell.h"
#define HEIGHT self.contentView.frame.size.height
#define WIDTH self.contentView.frame.size.width
@implementation ZGSDestionDetailsCell


- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        self.imageUp = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, WIDTH, HEIGHT / 2.5 * 1.5)];
        [self.contentView addSubview:self.imageUp];
        [_imageUp release];
        
        self.labelName = [[UILabel alloc] initWithFrame:CGRectMake(WIDTH / 2 - 35, self.imageUp.center.y - 5, 70, 20)];
        self.labelName.textColor = [UIColor whiteColor];
        [self.contentView addSubview:self.labelName];
        [_labelName release];
        
        self.labelGo = [[UILabel alloc] initWithFrame:CGRectMake(5, HEIGHT / 2.5 * 1.5 + 5, WIDTH, 10)];
        self.labelGo.font = [UIFont systemFontOfSize:10];
        self.labelGo.textColor = [UIColor groupTableViewBackgroundColor];
        [self.contentView addSubview:self.labelGo];
        [_labelGo release];
        
        self.labelTItle = [[UILabel alloc] initWithFrame:CGRectMake(5, HEIGHT / 2.5 * 1.5 + 20, WIDTH - 15, 15)];
        self.labelTItle.font = [UIFont systemFontOfSize:12];
        [self.contentView addSubview:self.labelTItle];
        [_labelTItle release];
        
        
        
        
        
        
        
        

    }
    return self;
}
@end
